﻿using System.Collections.ObjectModel;
using ClientCommonWpf;

namespace Director.ViewModels
{
	class OutputVM : AbstractToolVM
	{
		public ReadOnlyObservableCollection<OutputItem> Log { get; private set; }

		public OutputVM(MainVM mainVM, ObservableCollection<OutputItem> log)
			: base(mainVM)
		{
			Log = new ReadOnlyObservableCollection<OutputItem>(log);
		}

		public override string Title
		{
			get { return "Лог"; }
		}

		public override void Init()
		{
		}

		public override void CandlesUpdated()
		{
			throw new System.NotImplementedException();
		}

		public override EToolId ToolId
		{
			get { return EToolId.OUTPUT; }
		}

		public RelayCommand ItemDoubleClick { get; private set; }
	}
}